package com.vehicle.app;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

@MapperScan("com.vehicle.app.dao")//mybatis 扫描配置
@ComponentScan(basePackages = {"com.vehicle.core.*","com.vehicle.app"})
@SpringBootApplication
public class AppApplication {

    public static void main(String[] args) {
        SpringApplication.run(AppApplication.class);
    }
}
